
public class CharToString {
	public static void main(String[] args) {
	
		 int[] c = {'1','2','3'};
		 int k = 0;
		
		 for (int i = 0; i < c.length; i++) {
			 k = k * 10;
			k = k +( c[i] - '0');
			}
		 
		 System.out.println(k);
	}

}
